@echo off
rem echo Starte SQL-Script %1 (Server %2/DB %3/User:%4/PW:%5)...
echo -------------------------------------------------------------------------
rem echo using sqlcmd
IF %5.==. (
  sqlcmd.exe -S%2 -d%3 -U%4 -P"" -i%1 -f 1252
) ELSE (
  sqlcmd.exe -S%2 -d%3 -U%4 -P%5 -i%1 -f 1252
)
rem :done
rem echo - FINITO ! --------------------------------------------------------------
echo.